package 设计模式.适配器模式.类适配器模式;

public class Client {
    public static void main(String[] args) {
       /* Phone phone = new Phone();
        phone.charge(new Voltage5V());*/
        Phone phone = new Phone();
        phone.charge(new Voltage220VTo5VAdapter());
    }
}
